tools/ocaml: Rename the ocaml libraries
authorJon Ludlam <jonathan.ludlam@eu.citrix.com>
Mon, 10 Oct 2011 15:37:07 +0000 (16:37 +0100)
committerJon Ludlam <jonathan.ludlam@eu.citrix.com>
Mon, 10 Oct 2011 15:37:07 +0000 (16:37 +0100)
commit7ceaa0c7449e841d7ca7db889c3041dc3fedbb3b
tree5a31c840895e59e1ef01f4d08cc1354506559f1e
parentdf0c75a05f6782a88e0471a9c5e070f8900a875f
tools/ocaml: Rename the ocaml libraries

ocamlfind does not support namespaces, so to avoid
name clashes the module names have become longer.
Additionally, the xenstore and xenbus subdirs, which
contain several modules each, have been packed into
toplevel Xenstore and Xenbus modules.

xb becomes xenbus, xc becomes xenctrl, xl becomes xenlight,
xs becomes xenstore, eventchn becomes xeneventchn and
mmap becomes xenmmap.

[ Patch modified from that submitted, to update the .hgignore, and to
  cope with intervening changes to mmap_stubs.c -iwj ]

Signed-off-by: Jon Ludlam <jonathan.ludlam@eu.citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
57 files changed:
.hgignore
tools/ocaml/libs/eventchn/META.in
tools/ocaml/libs/eventchn/Makefile
tools/ocaml/libs/eventchn/eventchn.ml [deleted file]
tools/ocaml/libs/eventchn/eventchn.mli [deleted file]
tools/ocaml/libs/eventchn/eventchn_stubs.c [deleted file]
tools/ocaml/libs/eventchn/xeneventchn.ml [new file with mode: 0644]
tools/ocaml/libs/eventchn/xeneventchn.mli [new file with mode: 0644]
tools/ocaml/libs/eventchn/xeneventchn_stubs.c [new file with mode: 0644]
tools/ocaml/libs/mmap/META.in
tools/ocaml/libs/mmap/Makefile
tools/ocaml/libs/mmap/mmap.ml [deleted file]
tools/ocaml/libs/mmap/mmap.mli [deleted file]
tools/ocaml/libs/mmap/mmap_stubs.c [deleted file]
tools/ocaml/libs/mmap/xenmmap.ml [new file with mode: 0644]
tools/ocaml/libs/mmap/xenmmap.mli [new file with mode: 0644]
tools/ocaml/libs/mmap/xenmmap_stubs.c [new file with mode: 0644]
tools/ocaml/libs/xb/META.in
tools/ocaml/libs/xb/Makefile
tools/ocaml/libs/xb/xb.ml
tools/ocaml/libs/xb/xb.mli
tools/ocaml/libs/xb/xb_stubs.c [deleted file]
tools/ocaml/libs/xb/xenbus_stubs.c [new file with mode: 0644]
tools/ocaml/libs/xb/xs_ring.ml
tools/ocaml/libs/xc/META.in
tools/ocaml/libs/xc/Makefile
tools/ocaml/libs/xc/xc.ml [deleted file]
tools/ocaml/libs/xc/xc.mli [deleted file]
tools/ocaml/libs/xc/xc_stubs.c [deleted file]
tools/ocaml/libs/xc/xenctrl.ml [new file with mode: 0644]
tools/ocaml/libs/xc/xenctrl.mli [new file with mode: 0644]
tools/ocaml/libs/xc/xenctrl_stubs.c [new file with mode: 0644]
tools/ocaml/libs/xl/Makefile
tools/ocaml/libs/xl/xenlight.ml.in [new file with mode: 0644]
tools/ocaml/libs/xl/xenlight.mli.in [new file with mode: 0644]
tools/ocaml/libs/xl/xenlight_stubs.c [new file with mode: 0644]
tools/ocaml/libs/xl/xl.ml.in [deleted file]
tools/ocaml/libs/xl/xl.mli.in [deleted file]
tools/ocaml/libs/xl/xl_stubs.c [deleted file]
tools/ocaml/libs/xs/META.in
tools/ocaml/libs/xs/Makefile
tools/ocaml/libs/xs/queueop.ml
tools/ocaml/libs/xs/xs.ml
tools/ocaml/libs/xs/xsraw.ml
tools/ocaml/libs/xs/xsraw.mli
tools/ocaml/xenstored/Makefile
tools/ocaml/xenstored/connection.ml
tools/ocaml/xenstored/connections.ml
tools/ocaml/xenstored/domain.ml
tools/ocaml/xenstored/domains.ml
tools/ocaml/xenstored/event.ml
tools/ocaml/xenstored/logging.ml
tools/ocaml/xenstored/perms.ml
tools/ocaml/xenstored/process.ml
tools/ocaml/xenstored/quota.ml
tools/ocaml/xenstored/transaction.ml
tools/ocaml/xenstored/xenstored.ml